<link  type="text/css" rel="Stylesheet" href="css/line.css"/>
<script type="text/javascript" src="js/jquery.ad-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="css/adgallery.css">

<script type="text/javascript">
document.getElementById('index').className='';
	document.getElementById('car_<?php if($carclass['fpid'][$cateid]){ echo $carclass['fpid'][$cateid];}else{echo $cateid;}?>').className='yes';
</script>
<!--list开始-->
<div class="box">
     <?php $this->load->view('inc/left');?>
    <div class="lineR770">
        <div class="lineNavTitle">
			<?php if(!empty($carclass['classname'][$cateid])){echo $carclass['classname'][$cateid];}?>
		</div>
        <div class="lineListText">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="lineLText">
		<?php foreach($subclass_list['list'] as $item){
							$pics="";		
							if(empty($subclass_list['annex'][$item->id])){
								$pics="/templates/img/nopic.jpg";
							}else{
								$annex=$subclass_list['annex'][$item->id];
								$pics=$this->platform->file_url($annex->folder.'/'.$annex->name.'.'.$annex->type);
							}								
		
		?>
              <tr>
                <td width="140" align="center"><p class="proimg"><a href="<?php echo site_url();?>/car_cate/car_show/<?php echo $item->id;?>" target="_blank"><img src="<?php echo $pics;?>" maxwidth="120" maxheight="90" /></a></p></td>
                <td><h1><a href="<?php echo site_url();?>/car_cate/car_show/<?php echo $item->id;?>" target="_blank"><?php echo $item->car_title;?></a> 
						<?php if($item->tuijian){?>
							<span class="lineVirtues_5"></span>
						<?php }?>
					</h1>
                <div class="guild">车型：<span><?php echo $item->car_model;?></span>
					&nbsp;&nbsp;价格<span><b>¥<?php echo $item->per_price;?>/日</b></span>&nbsp;&nbsp;载客：<span linestartdate="[<?php echo $item->seating_num;?>]"></span>
					&nbsp;&nbsp;车况：<span linestartdate="[<?php echo $item->car_conditions;?>]"></span>
				</div><div class="msg"><?php echo substr(strip_tags($item->car_info),0,165);?>...</div></td>
                <td width="100" align="center" style="line-height:240%;"><b class="price">¥<?php echo $item->per_price;?></b> 起<br /><input type="button" class="btn73x23" value="查看详情" onClick="location='<?php echo site_url();?>/car_cate/car_show/<?php echo $item->id;?>';return false;" /></td>
              </tr>
 		<?php }?>
            </table>
			<div style="padding-bottom:10px"><div id="pager2" class="page"><?php echo $this->pagination->create_links(); ?></div></div>
        </div>
    </div>
    <div class="clearit"></div>
</div>
<!--list结束-->
<script language="javascript">
if($('.nameText').html()=='')$('.nameText').html('暂未添加内容！');
//幻灯片
if($('.ad-thumb-list').find('li').length==0){
	$('#gallery').html('<img src="/sys/images/noPic.gif"/>');
}else{
	$('.ad-gallery').adGallery({loader_image:'/images/adgallery/loader.gif'});
}				
//搜索
$('#ltid').val(1);
if(''!='')$('#lkey').val('');
//为热门目的地加图片
$('li[hot="1"]').append('<img src="img/remai.gif" />');
//隐藏热门酒店和门票
$('.hotelSText').each(function(){
	if($(this).find('li').length==0){
		$(this).prev('.hotelSTitle').hide();
		$(this).hide();
	}
});
</script>
    <?php $this->load->view('inc/footer');?>
</body>
</html>